package org.jeecg.module.flow.meter.tcpserver.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @Description: 水表信息
 * @Author: jeecg-boot
 * @Date:   2022-06-22
 * @Version: V1.0
 */
@Data
@TableName("ft_alarm_log")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class MeterAlarmLog {

	/**水表id*/
	@TableId(type = IdType.ASSIGN_ID)
	private String id;

	private String customerId;

	private String meterId;

	/**表身号*/
//	@TableField(exist = false)
	private String meterNumber;


	private String repairman;


	/**备注*/
	private String remark;

	private Integer status;

	private Integer alarmCount;


	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private java.util.Date createTime;
	/**修改时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private java.util.Date updateTime;

	/**创建人*/
	private String createBy;

	/**逻辑删除*/
	@TableLogic
	private Integer isDeleted;
	/**修改人*/
	private String updateBy;



	private Double waterVolume;

	private Integer alarmType;

	private String tenantId;

}
